.PHONY:all
all:signal signal2 test
signal:signal.cc
	g++ -o $@ $^ -std=c++11 -g
signal2:signalaction.cc
	g++ -o $@ $^ -std=c++11 -g
test:sitest.cc
	g++ -o $@ $^ -std=c++11 -g

.PHONY:clean
clean:
	rm -f signal signal2 test